<script type="text/javascript" src="js/Calendar.js"></script>
<link rel="stylesheet" href="css/page.css" media="all" />
<link rel="stylesheet" href="css/operatorRecord.css" media="all" />
<link rel="stylesheet" type="text/css" href="css/distri.css"/>
<style>

</style>
<div class="r_content"> 
	<h3 class="mt_title">
		<span class="mttit">
			<i>+</i><a href="addoper.html">添加员工</a>
		</span>
		<span class="mctit_1" style="border-bottom:0 none;"><a href="operlist.html">员工列表</a></span>
		<span class="mctit_1">操作日志</span>
	</h3>
	<form>
		<span>
			<label>记录时间：</label>
			<input type="text" name="btime" class="time" value="<?=$_REQUEST['btime']?>" onmouseup="SelectDate(this,'yyyy-MM-dd',0,0)" />
			<label>至</label>
			<input type="text" name="etime" class="time" value="<?=$_REQUEST['etime']?>" onmouseup="SelectDate(this,'yyyy-MM-dd',0,0)" />.
		</span>
		<span>
			<label>员工姓名</label>
			<input type="text"  class="dname" name="dname" value="<?=$_REQUEST['dname']?>"/>
		</span>
		<input type="submit" class="queryBtn" value="查 询"/>
	</form>
	<div class="records">
		<table class="records">
			<tr>
				<th>记录时间</th>
				<th>员工姓名</th>
				<th>操作内容</th>
			</tr>
			<?foreach($r as $row){?>
			<tr>
				<td><?=$row['rectime']?></td>
				<td><?=$row['dname']?></td>
				<td><?=$row['daction']?></td>
			</tr>
			<?}?>
			
			<?if(count($r)==0){?>
				<tr><td colspan="3" style="text-align:left; padding-left:60px;">无员工操作记录</td></tr>
			<?}?>
		</table>
	</div>
	<?if(count($r)!=0){page($count,$currentPage,$pageSize);}?>
</div>